<jsp:include page="rcn_header.jsp" />
	 		<form id="patientForm">
				<table>
					<tr>
						<td>
							Nombre
						</td>
						<td>
							<input id="txtName" type="text" required/>
						</td>
					<tr>
					<tr>
						<td>
							Apellido
						</td>
						<td>
							<input id="txtSurname" type="text" required/>
						</td>
					<tr>
					<tr>
						<td>
							D.N.I
						</td>
						<td>
							<input id="txtIdNumber" type="number" required/>
						</td>
					<tr>
					<tr>
						<td>
							Direccion
						</td>
						<td>
							<input id="txtAddress" type="text"/>
						</td>
					<tr>
					<tr>
						<td>
							Fecha Nac.
						</td>
						<td>
							<p><input type="date" id="txtBirthDate" /></p>
						</td>
					<tr>
					<tr>
						<td>
							Telefono
						</td>
						<td>
							<input id="txtTelephone" type="text"/>
						</td>
					<tr>
					<tr>
						<td>
							Notas
						</td>
						<td>
							<textarea rows="5" cols="50" id="txtNotes"></textarea>
						</td>
					<tr>
				</table>
				<div id="formPatientButtons">
					<div class="formButton" onclick="newPatient()">Nuevo</div>
					<div class="formButton" id="btnEdit" onclick="editPatient()">Editar</div>
					<div class="formButton" id="btnSave" onclick="savePatient()">Guardar</div>
					<div class="formButton" id="btnDelete" onclick="deleteSelectedPatient()">Borrar</div>
				</div>
			</form>
			
			<div id="patientsGrid">
				<p><input dojoType="dijit.form.TextBox" placeholder="Buscar..." id="filterText" type="text" onkeyup="filterGrid()"><p>
				<div id="gridDiv"></div> 
			</div>
			
<jsp:include page="rcn_footer.jsp" />
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/dojo/1.9.0/dojo/dojo.js"></script>
<script type='text/javascript' src='dwr/engine.js'></script>
<script type='text/javascript' src='dwr/util.js'></script>
<script type='text/javascript' src='dwr/interface/JManagerPatient.js'></script>
<script type='text/javascript' src='dwr/interface/JPerson.js'></script>
<script type='text/javascript' src='dwr/interface/JPatient.js'></script>

<script type="text/javascript" src="js/patient.js"></script>
<script type="text/javascript" src="js/raccoon.js"></script>